class CreateRatings < ActiveRecord::Migration
  def self.up    
    create_table :ratings do |t|      
      t.column :user_id, :integer
      t.column :item_id, :integer    
      t.column :rating, :string
      t.column :ts, :string      
    end
  end

  def self.down
    drop_table :ratings
  end
  
end
